import axios from 'axios';
import type { AnalysisData } from './data';
import { getFakeChartData } from './_mock';

export async function fakeChartData(): Promise<{ data: AnalysisData }> {
  // 在开发环境中直接返回模拟数据
  return Promise.resolve({ data: getFakeChartData });
}
